If you want to sort @online sources by their urldate you will have to define a new sorting template. Cf. biblatex sorting by date, but note that our scheme needs to be based on url... date parts.
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber,defernumbers=true]{biblatex}
\DeclareSortingTemplate{urldatenty}{
\sort{
\field{presort}
}
\sort[final]{
\field{sortkey}
}
\sort{
\field{urlyear}
\literal{9999}
}
\sort{
\field{urlmonth}
\literal{99}
}
\sort{
\field{urldate}
\literal{99}
}
\sort{
\field{sortname}
\field{author}
\field{editor}
\field{translator}
\field{sorttitle}
\field{title}
}
\sort{
\field{sorttitle}
\field{title}
}
\sort{
\field{sortyear}
\field{year}
}
\sort{
\field{volume}
\literal{0}
}
}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@online{appleby,
author = {Humphrey Appleby},
title = {On the Importance of the Civil Service},
date = {1980},
url = {http://example.com/~sir_humphrey/importance},
urldate = {2018-10-01}
}
@online{elk,
author = {Anne Elk},
title = {A Theory on Bronotsauruses},
date = {1972},
url = {http://example.com/~elk/bronto},
urldate = {2018-04-06}
}
@online{woolley,
author = {Bernard Woolley},
title = {On the Ablative Case in Ancient Greek},
date = {1981},
url = {http://example.com/~wooll/abl},
urldate = {2018-01-02}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
\nocite{sigfridsson,worman,nussbaum,appleby,elk,woolley}
\printbibliography[nottype=online, title={\refname{} (sans \texttt{@online})}]
\newrefcontext[sorting=urldatenty]
\printbibliography[type=online, title={Online sources (sorted by \texttt{urldate})}]
\end{document}

In this case the same sorting could be achieved by making urldatenty the global sorting scheme (which means you could get rid of the \newrefcontext), but that would feel like cheating.
.texfile. Please have a look at https://tex.meta.stackexchange.com/q/228/35864 and https://tex.meta.stackexchange.com/q/4407/35864 to find out how to provide useful MWEs. – moewe Dec 20 '18 at 22:54ntyhence, the\printbibliography[title=Unsorted]sorts exactly the same as the following\printbibliography[title=Alphabetic]. – moewe Dec 20 '18 at 23:12nty? – moewe Dec 20 '18 at 23:22