implemented more elegant (ul) sort option