sort values types