CSS-sort (first version)