Total row sorting FIX