Fix less utility function for descending sort order