Implement options and options.direction
Throw empty strings to the end