Script sort by code disappears

Script sort by code disappears

I want to show results sorted alphabetically. However, I am finding issues with the sort by code disappearing after I try to implement it.

When I try to save the following code

c = (CUSTOMERS[CUSTOMER_ID != input.CUSTOMER_ID].CUSTOMER_ID sort by CUSTOMER_ID).getAll()  


in my form script, I see 
Script saved

However, when I refresh the code, I see

c = (CUSTOMERS[CUSTOMER_ID != input.CUSTOMER_ID].CUSTOMER_ID).getall();
Script generated

I have tried both in the Script Editor and Free Flow Scripting.  It seems like the sort code disappears after I save it. Why is the sorting code not being saved?