Standardized weight sorting

Standardized weight sorting