added sorts for ruby post