support python 3
sort kwargs before building __str__