added ability to use either stdin or filename
added sorting options
added alignment conversion