K argument bug should be gone now.
Fixed sorting for quotes as well.
*note: I did copy to this project from another so I could test faster. I will be rewriting the api soon.