Fix for mobile sorting.