testing sort with own defined weight in each page